package com.wx.commons.constant;

import lombok.Getter;

//校验枚举类
@Getter
public enum CheckValidatorEnum {
    Null(1, "为空校验"),
    AGE(2, "年龄校验"),
    Phone(3, "手机校验");

    CheckValidatorEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private int code;
    private String desc;
}